export interface MenuParams {
  menuName: string | undefined;
  menuType: string | undefined;
  status: string | undefined;
}

export interface MenuItem {
  isParent: boolean;
  id: string;
  innerSort: string;
  parentId: string;
  children?: MenuItem[];
  route: string;
  menuTypeCn: string;
  isShowCn: string;
  status: number;
  statusCn: string;
  menuType: string;
  isShow: boolean;
  menuCss: string;
  menuName: string;
  menuNo: string;
  name: string;
  parentMenuName: string;
  remark: string;
  resourceId: string;
  url: string;
}

export interface MenuInfo {
  id?: string;
  parentId: string;
  menuNo: string;
  menuType: string;
  menuName: string;
  route: string;
  isShow: string;
  menuCss: string;
  remark: string;
  url: string;
}

export type AddParams = Omit<MenuInfo, 'url'>;
